<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="head01">我是头页面</div>
<div th:fragment="end">我是尾页面</div>
</body>
</html>